package org.dizem.groupon;

import java.text.SimpleDateFormat;

/**
 * User: dizem@126.com
 * Time: 11-6-27 上午11:49
 */
public interface Constants {
	SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm");

	String SESSION_USERNAME = "SESSION_USERNAME";
	String SESSION_USER_TYPE = "SESSION_USER_TYPE";
	String VALIDATION_CODE = "validation_code";
	enum USER_TYPE {
		USER, ADMIN, NOT_AUTHED
	}

	String[] USER_TYPE_NAME = {
			"USER", "ADMIN", "NOT_AUTHED"
	};

}
